Platform Explorer / Nuxeo Platform 2023.16

Operation NuxeoDrive.SetSynchronization (Nuxeo Drive: Register / Unregister Synchronization Root)

Description

If the enable parameter is true, register the input document as a synchronization root for the currently authenticated user. Unregister it otherwise.
Operation id NuxeoDrive.SetSynchronization
Category Services
Label Nuxeo Drive: Register / Unregister Synchronization Root
Requires
Since

Parameters

Name Description Type Required Default value
enable Whether to register or unregister the input document as a synchronizaiton root. boolean yes  

Signature

Inputs document
Outputs void

Implementation Information

Implementation Class Class: org.nuxeo.drive.operations.NuxeoDriveSetSynchronizationOperation
Contributing Component org.nuxeo.drive.operations.NuxeoDriveGetRootsOperation

JSON Definition

{
  "id" : "NuxeoDrive.SetSynchronization",
  "label" : "Nuxeo Drive: Register / Unregister Synchronization Root",
  "category" : "Services",
  "requires" : null,
  "description" : "If the enable parameter is true, register the input document as a synchronization root for the currently authenticated user. Unregister it otherwise.",
  "url" : "NuxeoDrive.SetSynchronization",
  "signature" : [ "document", "void" ],
  "params" : [ {
    "name" : "enable",
    "description" : "Whether to register or unregister the input document as a synchronizaiton root.",
    "type" : "boolean",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}